package com.codefox.entity;

import java.io.Serializable;
import java.util.Date;

public class TbDruggist implements Serializable {
    private Integer druggistId;

    private String druggistName;

    private String password;

    private String druggistRealname;

    private String druggistPhone;

    private String address;

    private String druggistShopName;

    private String licenseNumber;

    private String licensePicture;

    private Date loginDate;

    private Date createDate;

    private Date updateDate;

    private String delFlag;

    private String createBy;

    private String updateBy;

    private Integer roleId;

    private static final long serialVersionUID = 1L;

    public Integer getDruggistId() {
        return druggistId;
    }

    public void setDruggistId(Integer druggistId) {
        this.druggistId = druggistId;
    }

    public String getDruggistName() {
        return druggistName;
    }

    public void setDruggistName(String druggistName) {
        this.druggistName = druggistName == null ? null : druggistName.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getDruggistRealname() {
        return druggistRealname;
    }

    public void setDruggistRealname(String druggistRealname) {
        this.druggistRealname = druggistRealname == null ? null : druggistRealname.trim();
    }

    public String getDruggistPhone() {
        return druggistPhone;
    }

    public void setDruggistPhone(String druggistPhone) {
        this.druggistPhone = druggistPhone == null ? null : druggistPhone.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getDruggistShopName() {
        return druggistShopName;
    }

    public void setDruggistShopName(String druggistShopName) {
        this.druggistShopName = druggistShopName == null ? null : druggistShopName.trim();
    }

    public String getLicenseNumber() {
        return licenseNumber;
    }

    public void setLicenseNumber(String licenseNumber) {
        this.licenseNumber = licenseNumber == null ? null : licenseNumber.trim();
    }

    public String getLicensePicture() {
        return licensePicture;
    }

    public void setLicensePicture(String licensePicture) {
        this.licensePicture = licensePicture == null ? null : licensePicture.trim();
    }

    public Date getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag == null ? null : delFlag.trim();
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", druggistId=").append(druggistId);
        sb.append(", druggistName=").append(druggistName);
        sb.append(", password=").append(password);
        sb.append(", druggistRealname=").append(druggistRealname);
        sb.append(", druggistPhone=").append(druggistPhone);
        sb.append(", address=").append(address);
        sb.append(", druggistShopName=").append(druggistShopName);
        sb.append(", licenseNumber=").append(licenseNumber);
        sb.append(", licensePicture=").append(licensePicture);
        sb.append(", loginDate=").append(loginDate);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateDate=").append(updateDate);
        sb.append(", delFlag=").append(delFlag);
        sb.append(", createBy=").append(createBy);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", roleId=").append(roleId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}